package cn.whx.hrm.service;

import cn.whx.hrm.dto.SmsDto;
import cn.whx.hrm.util.AjaxResult;

import javax.validation.Valid;
import java.io.IOException;

public interface IVerifyCodeService {
    AjaxResult imageCode(String key) throws IOException;

    AjaxResult sendSmsCode(@Valid SmsDto smsDto);
}
